#pragma once
#include <opencv2/dnn.hpp>
class FaceRec
{
public:
	FaceRec(std::string modelConfiguration, std::string modelBinary);
	~FaceRec();
	void UseGPU(bool use_gpu);
	operator bool();
	std::vector<float> GetFeatures(cv::Mat & face);
private:
	cv::dnn::Net net;
public:
	static float Similar(const std::vector<float>& lhs, const std::vector<float>& rhs);
};

